package com.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;


@Getter
public enum PriceType {
    //1(积分)
    POINTS(1,"积分"),
    // 2（ 积分加钱 ）
    POINTS_MONEY(2,"积分加现金"),
    // 3（ 现金）
    MONEY(3,"现金");
    @JsonValue
    private final String productPriceType; //兑换类型
    @EnumValue
    private final int productPriceCount;
    PriceType(int productPriceCount, String productPriceType) {
        this.productPriceType = productPriceType;
        this.productPriceCount = productPriceCount;
    }
}
